package com.woniuxy.dao;

import com.woniuxy.pojo.*;

import java.util.List;

public interface MaintainRecordMapper {

    public List<MaintainRecord> selectMaintainRecordsByProperty(MaintainRecord maintainRecord);

    public List<Car> selectAllCarById(int id);
    public List<Car> selectAllCars();
    public List<User> selectAllUsers();
    public List<User> selectAllUserById(int id);
    public List<CurrentUnit> selectAllUnitById(int id);
    public List<CurrentUnit> selectAllUnit();
    public List<Dictionary> selectAllMaintainById(int id);
    public List<Dictionary> selectAllMintains();
    public void deleteMaintainRecordById(int id);
    public int insertMaintainRecord(MaintainRecord maintainRecord);

    public int updataMaintainRecord(MaintainRecord maintainRecord);

}
